Ext.define('Holo.model.Panneau', {
    extend: 'Ext.data.Model',
    fields: [
	          {name: 'id',  type: 'string'},
	          {name: 'lib', type: 'string'},
	          {name: 'categorie', type: 'string'},
	          {name: 'circuit_id', type: 'string'},
	          {name: 'gpsX', type: 'float'},
	          {name: 'gpsY', type: 'float'}
	      ],
    proxy: {
        type: 'ajax',
        url: 'data/panneaux.xml',
        reader: {
        	type: 'xml',
            root: 'circuit',
            record: 'panneau'
        }
    }
});



